package com.aaa.web.dao.iemployeedao;

import com.aaa.entity.School;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component
public interface ISchoolDao {
    /**
     * @Author yyh
     * @Description //获取门店信息
     * @Date 2019/1/3 9:59 
     * @Param []
     * @return java.util.List<java.util.Map>
     **/
    List<Map> getStore();
    /**
     * @Author yyh
     * @Description //获取门店数量
     * @Date 2019/1/3 9:59 
     * @Param []
     * @return java.lang.Integer
     **/
    Integer getStoreCount();
    /**
     * @Author yyh
     * @Description //添加门店
     * @Date 2019/1/3 9:59 
     * @Param [school]
     * @return java.lang.Integer
     **/
    Integer addSchool(School school);
    /**
     * @Author yyh
     * @Description //查看门店是否存在
     * @Date 2019/1/3 10:24
     * @Param [schoolName]
     * @return java.util.List
     **/
    List isSchoolExist(String schoolName);

    Integer editSchool(School school);
}
